Ext.define('PC.store.EmpresaTreeStore', {
    extend : 'Ext.data.TreeStore',
    requires: 'PC.model.ModelEmpresa',
    model:'PC.model.ModelEmpresa',
    root: {
        expanded: true,
        children: [
                   { text: "ALLL3", leaf: true},
                   { text: "AMBV4", leaf: true },
                   { text: "BBAS3", leaf: true },
                   { text: "BBDC4", leaf: true }
                   ]
    }
   /* model  : 'PC.model.ModelEmpresa',
	proxy: {
	      type: 'ajax',
	      url: 'data/empresas.json'
	   },
	folderSort: true
    /*proxy: {
        type: 'rest',
        url: 'data/empresas.json',
        reader: {
            type: 'json',
            root: 'empresas',
            idProperty: 'sigla'
        },
        writer: {
            type: 'json',
            writeAllFields: true,
            encode: false
        },
        autoSync:true
    }
    root: {
        expanded: true,
        children: [
                   { text: "ALLL3", leaf: true},
                   { text: "AMBV4", leaf: true },
                   { text: "BBAS3", leaf: true },
                   { text: "BBDC4", leaf: true },
                   { text: "BISA3", leaf: true },
                   { text: "BRAP4", leaf: true },
                   { text: "BRFS3", leaf: true },
                   { text: "BRKM5", leaf: true },
                   { text: "BRML3", leaf: true },
                   { text: "BTOW3", leaf: true },
                   { text: "BVMF3", leaf: true },
                   { text: "CCRO3", leaf: true },
                   { text: "CESP6", leaf: true },
                   { text: "CIEL3", leaf: true },
                   { text: "CMIG4", leaf: true },
                   { text: "CPFE3", leaf: true },
                   { text: "CPLE6", leaf: true },
                   { text: "CRUZ3", leaf: true },
                   { text: "CSAN3", leaf: true },
                   { text: "CSNA3", leaf: true },
                   { text: "CYRE3", leaf: true },
                   { text: "DASA3", leaf: true },
                   { text: "DTEX3", leaf: true },
                   { text: "ELET3", leaf: true },
                   { text: "ELET6", leaf: true },
                   { text: "ELPL4", leaf: true },
                   { text: "EMBR3", leaf: true },
                   { text: "FIBR3", leaf: true },
                   { text: "GFSA3", leaf: true },
                   { text: "GGBR4", leaf: true },
                   { text: "GOAU4", leaf: true },
                   { text: "GOLL4", leaf: true },
                   { text: "HGTX3", leaf: true },
                   { text: "HYPE3", leaf: true },
                   { text: "ITSA4", leaf: true },
                   { text: "ITUB4", leaf: true },
                   { text: "JBSS3", leaf: true },
                   { text: "KLBN4", leaf: true },
                   { text: "LAME4", leaf: true },
                   { text: "LIGT3", leaf: true },
                   { text: "LLXL3", leaf: true },
                   { text: "LREN3", leaf: true },
                   { text: "MMXM3", leaf: true },
                   { text: "MRFG3", leaf: true },
                   { text: "MRVE3", leaf: true },
                   { text: "NATU3", leaf: true },
                   { text: "OGXP3", leaf: true },
                   { text: "OIBR3", leaf: true },
                   { text: "OIBR4", leaf: true },
                   { text: "PCAR4", leaf: true },
                   { text: "PDGR3", leaf: true },
                   { text: "PETR3", leaf: true },
                   { text: "PETR4", leaf: true },
                   { text: "RDCD3", leaf: true },
                   { text: "RENT3", leaf: true },
                   { text: "RSID3", leaf: true },
                   { text: "SANB11", leaf: true },
                   { text: "SBSP3", leaf: true },
                   { text: "TIMP3", leaf: true },
                   { text: "TRPL4", leaf: true },
                   { text: "UGPA3", leaf: true },
                   { text: "USIM3", leaf: true },
                   { text: "USIM5", leaf: true },
                   { text: "VAGR3", leaf: true },
                   { text: "VALE3", leaf: true },
                   { text: "VALE5", leaf: true },
                   { text: "VIVT4", leaf: true },
        ]
    }*/
});

